package com.hw.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hw.entity.Statics;
import com.hw.service.StaticsService;

@Controller
public class StaticsController {
	@Autowired
	private StaticsService staticService;
	@RequestMapping(value="/queryStatics")
	public @ResponseBody Statics queryStatics(){
		Statics statics = staticService.queryStatics();
		return statics;
	}
}
